# CORI Live Listening Transcript Runtime Plan Last updated: 2026-04-22 Status: Active planning document for staged live call listening Purpose: This document governs how Dispatch Spot should stage live call listening, move transcript fragments through fact extraction, feed the CORI UI, and respect privacy / consent gates before real provider streaming is activated. --- ## 1. Scope This plan applies to: - CORI full-page call workspace - CORI popup call workspace - browser dialer session posture - transcript fragment transport - partial fact extraction - short advice refresh behavior - privacy and consent gates for live listening --- ## 2. Product rule Live listening exists to reduce dispatcher typing during calls. It does not exist to flood the operator with transcript text. The call workspace must stay: - short - calm - facts-first - decision-first --- ## 3. Runtime spine The live listening runtime should move through this order: 1. session created 2. policy checked 3. consent posture checked 4. call connected 5. listening allowed 6. transcript fragments arrive 7. facts update 8. advice refreshes 9. operator confirms outcome 10. durable records are written only where allowed 11. temporary listening state is cleared --- ## 4. Event flow model ### 4.1 Main events - `session.ready` - `policy.blocked` - `consent.waiting` - `call.connected` - `listening.started` - `transcript.partial` - `fact.updated` - `fact.replaced` - `advice.updated` - `outcome.selected` - `session.ended` - `transcript.cleared` - `durable.write.completed` ### 4.2 Event flow rule The UI should react to normalized events, not to raw provider payloads. That keeps the provider layer replaceable. --- ## 5. Partial fact lifecycle ### 5.1 Fact states Each fact should move through these states: - empty - heard - tentative - stable - replaced - confirmed - discarded ### 5.2 Facts that matter most first The first extraction targets should remain simple: - pickup - delivery - miles - offer - weight - equipment - pickup time - delivery time - callback cue - result signal ### 5.3 Promotion rule A fact becomes more trusted when it is repeated, more complete, or matched by existing truck/load context. ### 5.4 Save rule Only stable or operator-confirmed facts should move into saved continuity records. --- ## 6. UI consumption model ### 6.1 Four operator groups The UI should consume live listening data as four groups: 1. listening posture 2. best current facts 3. advice change 4. save / follow-up readiness ### 6.2 Full-page and popup parity Both surfaces must read the same listening contract. Neither surface should invent its own fact logic. ### 6.3 Operator wording Use short labels only: - listening off - waiting for notice - hearing facts - facts changed - ready to save --- ## 7. Privacy and consent gates ### 7.1 Minimum gates Live listening must not start unless: - workspace policy allows it - consent mode is satisfied - operator can see the posture - the call session is eligible ### 7.2 Operator clarity rule The dispatcher should always know why listening is: - off - blocked - waiting - active - stopped --- ## 8. Failure handling If listening fails, the call workspace must still allow: - normal browser calling - quick note typing - quick outcome selection - manual continuity follow-up Live listening failure must never break the call workspace. --- ## 9. First implementation boundary The first future live implementation should stop at: - normalized event handling - partial fact lifecycle support - simple posture states - no transcript wall - no permanent transcript retention by default That keeps the operator experience simple and reduces privacy risk.